<?php


namespace app\common\controller;


use app\common\library\Auth;
use app\common\model\User;
use think\Config;
use think\Hook;
use think\Loader;
use function fast\array_get;

class XilumarketApi extends Api{

    protected $cityid = null;

    const DEFAULT_CITY_ID = 104;

    /**
     * 初始化操作
     * @access protected
     */
    protected function _initialize()
    {
        parent::_initialize();
        $this->cityid = $this->request->header('cityid') === null?self::DEFAULT_CITY_ID : $this->request->header('cityid');
    }


}